package com.model.oos;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;


public class OosDataModel implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @ExcelProperty(value = " OOS主键")
    @ColumnWidth(value = 18)
    private String osId;
    @ExcelProperty(value = "OOS编码")
    @ColumnWidth(value = 18)
    private String osCode;
    @ExcelProperty(value = "采样时间")
    @ColumnWidth(value = 18)
    private String osSamplingTime;

    @ExcelIgnore
    @ExcelProperty(value = "更新人")
    @ColumnWidth(value = 18)
    private String updateId;
    @ExcelProperty(value = "产品名称")
    @ColumnWidth(value = 18)
    private String osSampleName;
    @ExcelProperty(value = "样品编码")
    @ColumnWidth(value = 18)
    private String osSampleCode;
    @ExcelProperty(value = "通知单类型")
    @ColumnWidth(value = 18)
    private String osNoticeType;
    @ExcelProperty(value = "级别")
    @ColumnWidth(value = 18)
    private String osOsLevel;
    @ExcelProperty(value = "客商名称")
    @ColumnWidth(value = 18)
    private String osMerchantName;
    @ExcelProperty(value = "产品批号")
    @ColumnWidth(value = 18)
    private String osBatchCode;
    @ExcelProperty(value = "包装规格")
    @ColumnWidth(value = 18)
    private String osPackageDescr;
    @ExcelProperty(value = "车牌号")
    @ColumnWidth(value = 18)
    private String osCarNo;
    @ExcelProperty(value = "包装数量")
    @ColumnWidth(value = 18)
    private String osPackageQuantity;
    @ExcelIgnore
    @ExcelProperty(value = "状态")
    @ColumnWidth(value = 18)
    private String status;
    @ExcelProperty(value = "状态")
    @ColumnWidth(value = 18)
    private String statusName;
    @ExcelProperty(value = "OOS类型")
    @ColumnWidth(value = 18)
    private String oosTypeName;
    @ExcelIgnore
    @ExcelProperty(value = "进度")
    @ColumnWidth(value = 18)
    private BigDecimal process;
    @ExcelIgnore
    @ExcelProperty(value = "创建人名称")
    @ColumnWidth(value = 18)
    private String createName;
    @ExcelIgnore
    @ExcelProperty(value = "更新人名称")
    @ColumnWidth(value = 18)
    private String updateName;
    @ExcelIgnore
    @ExcelProperty(value = "部门名称")
    @ColumnWidth(value = 18)
    private String deptName;
    @ExcelProperty(value = "创建时间")
    @ColumnWidth(value = 18)
    private String createTime;
    @ExcelIgnore
    @ExcelProperty(value = "创建人id")
    @ColumnWidth(value = 18)
    private String createId;
    @ExcelProperty(value = "更新时间")
    @ColumnWidth(value = 18)
    private String updateTime;
    @ExcelIgnore
    @ExcelProperty(value = "删除标识")
    @ColumnWidth(value = 18)
    private String delFlag;
    @ExcelIgnore
    @ExcelProperty(value = "部门id")
    @ColumnWidth(value = 18)
    private String deptId;
    @ExcelIgnore
    private List<OosItemModel> itemModelList;
    @ExcelProperty(value = "备注")
    @ColumnWidth(value = 18)
    private String remark;
    @ExcelProperty(value = "oos类型")
    @ColumnWidth(value = 18)
    private String oosType;
    @ExcelProperty(value = "oos类型判定")
    @ColumnWidth(value = 18)
    private String oosTypeDecide;

    @ExcelProperty(value = "oos所属公司")
    @ColumnWidth(value = 18)
    private String oosOrg;

    public String getOosOrg() {
        return oosOrg;
    }

    public void setOosOrg(String oosOrg) {
        this.oosOrg = oosOrg;
    }
    @ExcelIgnore
    private List<OosTaskModel> taskModelList;
    @ExcelIgnore
    private List<OosImprovesModel> oosImprovesModels;

    public String getStatusName() {
        return "0".equals(status) ? "进行中" : "已完成";
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getOosTypeName() {
        return "0".equals(oosType) ? "无效" : "有效";
    }

    public void setOosTypeName(String oosTypeName) {
        this.oosTypeName = oosTypeName;
    }

    public String getOsId() {
        return this.osId;
    }

    public void setOsId(String osId) {
        this.osId = osId;
    }

    public String getOsCode() {
        return this.osCode;
    }

    public void setOsCode(String osCode) {
        this.osCode = osCode;
    }

    public String getOsSamplingTime() {
        return this.osSamplingTime;
    }

    public void setOsSamplingTime(String osSamplingTime) {
        this.osSamplingTime = osSamplingTime;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public String getOsSampleName() {
        return this.osSampleName;
    }

    public void setOsSampleName(String osSampleName) {
        this.osSampleName = osSampleName;
    }

    public String getOsSampleCode() {
        return this.osSampleCode;
    }

    public void setOsSampleCode(String osSampleCode) {
        this.osSampleCode = osSampleCode;
    }

    public String getOsNoticeType() {
        return this.osNoticeType;
    }

    public void setOsNoticeType(String osNoticeType) {
        this.osNoticeType = osNoticeType;
    }

    public String getOsOsLevel() {
        return this.osOsLevel;
    }

    public void setOsOsLevel(String osOsLevel) {
        this.osOsLevel = osOsLevel;
    }

    public String getOsMerchantName() {
        return this.osMerchantName;
    }

    public void setOsMerchantName(String osMerchantName) {
        this.osMerchantName = osMerchantName;
    }

    public String getOsBatchCode() {
        return this.osBatchCode;
    }

    public void setOsBatchCode(String osBatchCode) {
        this.osBatchCode = osBatchCode;
    }

    public String getOsPackageDescr() {
        return this.osPackageDescr;
    }

    public void setOsPackageDescr(String osPackageDescr) {
        this.osPackageDescr = osPackageDescr;
    }

    public String getOsCarNo() {
        return this.osCarNo;
    }

    public void setOsCarNo(String osCarNo) {
        this.osCarNo = osCarNo;
    }

    public String getOsPackageQuantity() {
        return this.osPackageQuantity;
    }

    public void setOsPackageQuantity(String osPackageQuantity) {
        this.osPackageQuantity = osPackageQuantity;
    }

    public String getStatus() {
        return this.status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public BigDecimal getProcess() {
        return this.process;
    }

    public void setProcess(BigDecimal process) {
        this.process = process;
    }

    public String getCreateId() {
        return this.createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateName() {
        return this.createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return this.updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public String getDeptId() {
        return this.deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return this.deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOosType() {
        return this.oosType;
    }

    public void setOosType(String oosType) {
        this.oosType = oosType;
    }

    public String getOosTypeDecide() {
        return this.oosTypeDecide;
    }

    public void setOosTypeDecide(String oosTypeDecide) {
        this.oosTypeDecide = oosTypeDecide;
    }

    public String getDelFlag() {
        return this.delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public List<OosItemModel> getItemModelList() {
        return itemModelList;
    }

    public void setItemModelList(List<OosItemModel> itemModelList) {
        this.itemModelList = itemModelList;
    }

    public List<OosTaskModel> getTaskModelList() {
        return taskModelList;
    }

    public void setTaskModelList(List<OosTaskModel> taskModelList) {
        this.taskModelList = taskModelList;
    }

    public List<OosImprovesModel> getOosImprovesModels() {
        return oosImprovesModels;
    }

    public void setOosImprovesModels(List<OosImprovesModel> oosImprovesModels) {
        this.oosImprovesModels = oosImprovesModels;
    }
}